import request from '@/utils/request'


// 获得水量统计列表
export function getWaterStatics(params) {
  return request({
    url: '/ht/dashboard/water-use-statics-list',
    method: 'get',
    params:params
  })
}

// 获得设备在线统计列表
export function getDeviceStatistics(query) {
  return request({
    url: '/ht/dashboard/statistics-device-count-list',
    method: 'get',
    params: query
  })
}

// 获得水质统计列表
export function getWaterQuality(query) {
  return request({
    url: '/ht/dashboard/water-quality-alert-list',
    method: 'get',
    params: query,
  })
}
